package com.mmd.manage.dao;

import com.mmd.common.entity.MmdModeMYC;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MmdModeMYCDao {
	void insert(MmdModeMYC mmdModeMYC);

	void updateById(MmdModeMYC mmdModeMYC);

	void getMmdModeMYC(long id);

	List<MmdModeMYC> getMycListByLevel(@Param("userLevel")String userLevel);

	List<MmdModeMYC> getMycList(long uid);

	MmdModeMYC getMYCByMycAndUid(@Param("level") String level, @Param("uid")long uid, @Param("mycName")String mycName);

	MmdModeMYC getMYCByMycAndAdmin(@Param("mycName")String mycName);
}
